package com.qiangqiang.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * Created by q on 2018/2/1.
 */
@Entity
@Data
public class Visit {
    /**
     * id
     */
    @Id
    private int vId;
    /**
     * 学生id
     */
    private String sId;
    /**
     * 来访者姓名
     */
    private String vName;
    /**
     * 被访者姓名
     */
    private String sName;
    /**
     * 两者关系
     */
    private String relation;
    /**
     * 来访时间
     */
    private Date time;

}
